{\rtf1\ansi\ansicpg936\cocoartf1404\cocoasubrtf470
{\fonttbl\f0\fnil\fcharset134 STHeitiSC-Light;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red0\green116\blue0;\red170\green13\blue145;\red63\green110\blue116;
\red92\green38\blue153;\red100\green56\blue32;\red46\green13\blue110;\red164\green8\blue0;\red110\green5\blue0;
\red196\green26\blue22;\red28\green0\blue207;}
\paperw11900\paperh16840\margl1440\margr1440\vieww21460\viewh16700\viewkind0
\deftab866
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0

\f0\fs36 \cf2 \CocoaLigature0 \'a1\'aa\'d2\'aa\'d7\'f1\'d1\'adUI
\f1 TableView
\f0 \'b5\'c4\'c1\'bd\'b8\'f6\'d0\'ad\'d2\'e9.\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0

\f1 \cf3 @interface\cf0  \cf4 ViewController\cf0  ()<\cf5 UITableViewDelegate\cf0 ,\cf5 UITableViewDataSource\cf0 >\cf2 \
//
\f0 \'cf\'c2\'c3\'e6\'c1\'bd\'b8\'f6\'b7\'bd\'b7\'a8\'b1\'c8\'bd\'cf\'cc\'d8\'ca\'e2\'a3\'ad\'a3\'ad\'d6\'bb\'d2\'aa\'d7\'f1\'d1\'ad\'c1\'cb
\f1 tableView
\f0 \'b5\'c4\'c1\'bd\'b8\'f6\'d0\'ad\'d2\'e9\'a3\'ac\'d2\'bb\'b5\'a9\'b2\'bb\'ca\'b5\'cf\'d6\'cf\'c2\'c3\'e6\'b5\'c4\'c1\'bd\'b8\'f6\'b7\'bd\'b7\'a8\'be\'cd\'bb\'e1\'b1\'c0\'a1\'a3
\f1 \cf0 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'d6\'d0
\f1 cell
\f0 \'b5\'c4\'ca\'fd\'c1\'bf
\f1 \cf2 //
\f0 \'d2\'b2\'bc\'b4\'c9\'e8\'d6\'c3\'c3\'bf\'b8\'f6\'b7\'d6\'d7\'e9\'d6\'d0\'b5\'c4\'d0\'d0\'ca\'fd
\f1 \cf6 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 -(\cf5 NSInteger\cf0 )tableView:(\cf5 UITableView\cf0  *)tableView numberOfRowsInSection:(\cf5 NSInteger\cf0 )section\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf2 //
\f0 \'b4\'f3\'ca\'fd\'d7\'e9\'a3\'ad\'a3\'ad
\f1 >
\f0 \'d0\'a1\'ca\'fd\'d7\'e9\'a3\'ad\'a3\'ad
\f1 >
\f0 \'d7\'d6\'b5\'e4
\f1 \cf0 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark--
\f0 \'b8\'f8
\f1 cell
\f0 \'b8\'b3\'d6\'b5
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 -(\cf5 UITableViewCell\cf0  *)tableView:(\cf5 UITableView\cf0  *)tableView cellForRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf2 //
\f0 \'d7\'a2\'d2\'e2\'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'ca\'fd\'a3\'ad\'a3\'ad\'d5\'e2\'b8\'f6\'b7\'bd\'b7\'a8\'b2\'bb\'d2\'bb\'b6\'a8\'d2\'aa\'ca\'b5\'cf\'d6\'a3\'ad\'a3\'ad\'b2\'bb\'ca\'b5\'cf\'d6\'be\'cd\'bb\'e1\'b2\'c9\'d3\'c3\'c4\'ac\'c8\'cf\'b7\'d6\'d7\'e9\'b7\'bd\'ca\'bd\'a3\'ad\'a3\'ad\'d6\'bb\'d3\'d0\'d2\'bb\'b8\'f6\'b7\'d6\'d7\'e9
\f1 --
\f0 \'b6\'f8\'c7\'d2\'cd\'a8\'b3\'a3\'b4\'f3\'b6\'e0\'ca\'fd\'d3\'a6\'d3\'c3\'d6\'d0\'b6\'bc\'b2\'c9\'d3\'c3\'d2\'bb\'b8\'f6\'b7\'d6\'d7\'e9\'a1\'a3
\f1 \cf0 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'ca\'fd
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 -(\cf5 NSInteger\cf0 )numberOfSectionsInTableView:(\cf5 UITableView\cf0  *)tableView\
    \cf4 _dataArr\cf0 =[\cf5 NSMutableArray\cf0  \cf7 arrayWithObjects\cf0 :array1,array2,array3, \cf3 nil\cf0 ];\
    \cf2 //
\f0 \'b5\'da\'b6\'fe\'b8\'f6\'b2\'ce\'ca\'fd\'a3\'ac\'c9\'e8\'d6\'c3
\f1 tableView
\f0 \'b5\'c4\'d1\'f9\'ca\'bd
\f1 \cf0 \
    \cf2 //
\f0 \'d7\'dc\'b9\'b2\'c1\'bd\'b8\'f6\'d1\'f9\'ca\'bd\'a3\'ac
\f1 UITableViewStyleGrouped
\f0 \'a3\'af
\f1 UITableViewStylePlain\cf0 \
    \cf2 //
\f0 \'d2\'d4\'ba\'f3\'bf\'aa\'b7\'a2\'d6\'d0\'bb\'f9\'b1\'be\'d3\'c3\'b5\'da\'b6\'fe\'d6\'d6\'d1\'f9\'ca\'bd\'a3\'a8
\f1 UITableViewStylePlain
\f0 \'a3\'a9
\f1 \cf0 \
    \cf2 //
\f0 \'c1\'bd\'d6\'d6\'d1\'f9\'ca\'bd\'d4\'da\'b7\'d6\'d7\'e9\'b5\'c4\'b1\'ea\'cc\'e2\'bc\'e4\'b8\'f4\'c9\'cf\'d3\'d0\'c7\'f8\'b1\'f0\'a3\'ad\'a3\'ad\'b5\'ab\'b6\'bc\'ca\'c7\'d3\'d0\'b7\'d6\'d7\'e9\'b5\'c4\'a1\'a3\'b6\'d4\'d3\'da
\f1 UITableViewStylePlain
\f0 \'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'b1\'ea\'cc\'e2\'d6\'ae\'ba\'f3\'b2\'c5\'bb\'e1\'c3\'f7\'cf\'d4\'bf\'b4\'b5\'bd\'b7\'d6\'d7\'e9\'a3\'ac
\f1 \cf0 \
    \cf5 UITableView\cf0  *tableV = [[\cf5 UITableView\cf0  \cf7 alloc\cf0 ]\cf7 initWithFrame\cf0 :\cf3 self\cf0 .\cf5 view\cf0 .\cf5 frame\cf0  \cf7 style\cf0 :\cf7 UITableViewStylePlain\cf0 ];\
    \cf2 //
\f0 \'bd\'a8\'c1\'a2\'b4\'fa\'c0\'ed\'b9\'d8\'cf\'b5
\f1 \cf0 \
    tableV.\cf5 delegate\cf0  = \cf3 self\cf0 ;\
    \cf2 //
\f0 \'bd\'a8\'c1\'a2\'ca\'fd\'be\'dd\'d4\'b4\'b4\'fa\'c0\'ed\'b9\'d8\'cf\'b5
\f1 \cf0 \
    tableV.\cf5 dataSource\cf0  = \cf3 self\cf0 ;\
\
\
\
\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf2 //
\f0 \cf8 \'d7\'a2\'d2\'e2\'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'ca\'fd\cf2 \'a3\'ad\'a3\'ad\'d5\'e2\'b8\'f6\'b7\'bd\'b7\'a8\'b2\'bb\'d2\'bb\'b6\'a8\'d2\'aa\'ca\'b5\'cf\'d6\'a3\'ad\'a3\'ad\'b2\'bb\'ca\'b5\'cf\'d6\'be\'cd\'bb\'e1\'b2\'c9\'d3\'c3\'c4\'ac\'c8\'cf\'b7\'d6\'d7\'e9\'b7\'bd\'ca\'bd\'a3\'ad\'a3\'ad\'d6\'bb\'d3\'d0\'d2\'bb\'b8\'f6\'b7\'d6\'d7\'e9
\f1 --
\f0 \'b6\'f8\'c7\'d2\'cd\'a8\'b3\'a3\'b4\'f3\'b6\'e0\'ca\'fd\'d3\'a6\'d3\'c3\'d6\'d0\'b6\'bc\'b2\'c9\'d3\'c3\'d2\'bb\'b8\'f6\'b7\'d6\'d7\'e9\'a1\'a3
\f1 \cf0 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'ca\'fd
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 -(\cf5 NSInteger\cf0 )numberOfSectionsInTableView:(\cf5 UITableView\cf0  *)tableView\
\{\
    \cf2 //
\f0 \'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'ca\'fd
\f1 \cf0 \
    \cf3 return\cf0  \cf4 _dataArr\cf0 .\cf5 count\cf0 ;\
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf2 //
\f0 \'cf\'c2\'c3\'e6\'c1\'bd\'b8\'f6\'b7\'bd\'b7\'a8\'b1\'c8\'bd\'cf\'cc\'d8\'ca\'e2\'a3\'ad\'a3\'ad\'d6\'bb\'d2\'aa\'d7\'f1\'d1\'ad\'c1\'cb
\f1 tableView
\f0 \'b5\'c4\'c1\'bd\'b8\'f6\'d0\'ad\'d2\'e9\'a3\'ac\'d2\'bb\'b5\'a9\'b2\'bb\'ca\'b5\'cf\'d6\'cf\'c2\'c3\'e6\'b5\'c4\'c1\'bd\'b8\'f6\'b7\'bd\'b7\'a8\'be\'cd\'bb\'e1\'b1\'c0\'a1\'a3
\f1 \cf0 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'d6\'d0
\f1 cell
\f0 \'b5\'c4\'ca\'fd\'c1\'bf
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 -(\cf5 NSInteger\cf0 )tableView:(\cf5 UITableView\cf0  *)tableView numberOfRowsInSection:(\cf5 NSInteger\cf0 )section\
\{\
    \cf2 //
\f0 \'c9\'e8\'d6\'c3\'c3\'bf\'b8\'f6\'b7\'d6\'d7\'e9\'d6\'d0\'b5\'c4\'d0\'d0\'ca\'fd
\f1 \cf0 \
    \cf3 return\cf0  [\cf4 _dataArr\cf0 [section] \cf7 count\cf0 ];\
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf2 //
\f0 \'b4\'f3\'ca\'fd\'d7\'e9\'a3\'ad\'a3\'ad
\f1 >
\f0 \'d0\'a1\'ca\'fd\'d7\'e9\'a3\'ad\'a3\'ad
\f1 >
\f0 \'d7\'d6\'b5\'e4
\f1 \cf0 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark--
\f0 \'b8\'f8
\f1 cell
\f0 \'b8\'b3\'d6\'b5
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 -(\cf5 UITableViewCell\cf0  *)tableView:(\cf5 UITableView\cf0  *)tableView cellForRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\{\
    \cf2 //
\f0 \'b5\'da\'d2\'bb\'b8\'f6\'b2\'ce\'ca\'fd\'a3\'ad\'a3\'ad\'c9\'e8\'d6\'c3
\f1 cell
\f0 \'b5\'c4\'d1\'f9\'ca\'bd
\f1 \cf0 \
    \cf2 //
\f0 \'b5\'da\'b6\'fe\'b8\'f6\'b2\'ce\'ca\'fd\'a3\'ad\'a3\'ad\'c9\'e8\'d6\'c3
\f1 cell
\f0 \'b5\'c4\'b1\'ea\'ca\'b6\'b7\'fb
\f1 \cf0 \
    \cf5 UITableViewCell\cf0  *cell = [[\cf5 UITableViewCell\cf0  \cf7 alloc\cf0 ]\cf7 initWithStyle\cf0 :\cf7 UITableViewCellStyle\cf9 Subtitle\cf0  \cf7 reuseIdentifier\cf0 :\cf3 nil\cf0 ];\
    \
    \cf9 //
\f0 \'c8\'a1\'ca\'fd\'be\'dd
\f1 \
\cf0     \cf5 NSDictionary\cf0  *dic = [\cf4 _dataArr\cf0 [indexPath.\cf5 section\cf0 ] \cf7 objectAtIndex\cf0 :indexPath.\cf5 row\cf0 ];\
    \cf2 //UITableViewCell
\f0 \'d3\'d0\'b5\'e3\'cf\'f1\'d7\'d4\'b6\'a8\'d2\'e5
\f1 customView\cf0 \
    \cf2 //
\f0 \'cf\'b5\'cd\'b3\'d7\'d4\'b4\'f8\'c8\'fd\'b8\'f6\'bf\'d8\'bc\'fe\'a3\'ac\'d2\'bb\'b8\'f6
\f1 imageView
\f0 \'a3\'ac\'d2\'bb\'b8\'f6
\f1 textLabel
\f0 \'a3\'ac\'d2\'bb\'b8\'f6
\f1 detailTextLabel\cf0 \
    cell.\cf5 imageView\cf0 .\cf5 image\cf0  = [\cf5 UIImage\cf0  \cf7 imageNamed\cf0 :dic[\cf10 @"userImage"\cf0 ]];\
    \cf7 NSLog\cf0 (\cf10 @"1%@"\cf0 ,cell.\cf5 imageView\cf0 .\cf5 image\cf0 );\
    \cf2 //
\f0 \'b1\'ea\'cc\'e2
\f1 \cf0 \
    cell.\cf5 textLabel\cf0 .\cf5 text\cf0  = dic[\cf10 @"userName"\cf0 ];\
    \cf2 //
\f0 \'d7\'d3\'b1\'ea\'cc\'e2\'a3\'ad\'a3\'ad\'d7\'d4\'b6\'a8\'d2\'e5\'b5\'c4\'ca\'b1\'ba\'f2\'a3\'ad\'a3\'ad\'a3\'ad\'d2\'bb\'b0\'e3\'b2\'bb\'d2\'aa\'d3\'c3\'cf\'b5\'cd\'b3\'d7\'d4\'b4\'f8\'b5\'c4
\f1 ,
\f0 \'d2\'f2\'ce\'aa\'d3\'d0\'b5\'c4\'ca\'b1\'ba\'f2\'cf\'b5\'cd\'b3\'c4\'ac\'c8\'cf\'b5\'c4\'b2\'bb\'c8\'c3\'ce\'d2\'c3\'c7\'b8\'c4\'b6\'af\'c4\'b3\'d0\'a9\'b5\'d8\'b7\'bd\'a1\'a3
\f1 \cf0 \
    \cf2 //
\f0 \'a3\'a8\'c8\'e7\'b9\'fb\'d2\'aa\'d3\'c3\'b5\'bd\'cf\'c2\'c3\'e6\'d5\'e2\'b8\'f6\'ca\'f4\'d0\'d4\'b1\'d8\'d0\'eb\'cf\'c8\'c9\'e8\'d6\'c3
\f1 cell
\f0 \'b5\'c4\'d1\'f9\'ca\'bd\'ce\'aa
\f1 UITableViewCellSytleSubTitle
\f0 \'a3\'a9
\f1 ############\cf0 \
    cell.\cf5 detailTextLabel\cf0 .\cf5 text\cf0  = dic[\cf10 @"subTitle"\cf0 ];\
    \cf2 //NSIndexPath 
\f0 \'cb\'fb\'d3\'d0\'c1\'bd\'b8\'f6\'ca\'f4\'d0\'d4
\f1 1.section
\f0 \'a3\'a8
\f1 NSInteger
\f0 \'a3\'ac
\f1 readonly
\f0 \'a3\'a9\'a3\'ac
\f1 2.row
\f0 \'a3\'a8
\f1 NSInteger
\f0 \'a3\'ac
\f1 readonly
\f0 \'a3\'a9
\f1 \cf0 \
    \
    \cf3 return\cf0  cell;\
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark--
\f0 \'c9\'e8\'d6\'c3\'b7\'d6\'d7\'e9\'b1\'ea\'cc\'e2
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 -(\cf5 NSString\cf0  *)tableView:(\cf5 UITableView\cf0  *)tableView titleForHeaderInSection:(\cf5 NSInteger\cf0 )section\
\{\
    \cf5 NSArray\cf0  *titleArr = \cf11 @[\cf10 @"11"\cf0 ,\cf10 @"22"\cf0 ,\cf10 @"33"\cf11 ]\cf0 ;\
    \cf3 return\cf0  titleArr[section];\
\}\
    \cf2 //
\f0 \'b4\'f2\'bf\'aa
\f1 table
\f0 \'b5\'c4\'b1\'e0\'bc\'ad\'c4\'a3\'ca\'bd
\f1 \cf0 \
    table.\cf5 editing\cf0  = \cf3 YES\cf0  ;\
//\cf2 //
\f0 \'c9\'e8\'d6\'c3\'b8\'b4\'d3\'c3\'b3\'d8\'a3\'ad\'a3\'ad\'b5\'c4
\f1 UITableViewCell\cf0 \
- (\cf5 UITableViewCell\cf0  *)tableView:(\cf5 UITableView\cf0  *)tableView cellForRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\{\
    \cf3 static\cf0  \cf5 NSString\cf0  * cellID = \cf10 @"myCell"\cf0  ;\
    \
    \cf3 static\cf0  \cf3 int\cf0  count ;\
    \cf2 //
\f0 \'c9\'e8\'d6\'c3\'b8\'b4\'d3\'c3\'b3\'d8\'a3\'ad\'a3\'ad\'b5\'c4
\f1 UITableViewCell\cf0 \
    \cf5 UITableViewCell\cf0  * cell = [tableView \cf7 dequeueReusableCellWithIdentifier\cf0 :cellID] ;\
    \cf3 if\cf0  (cell == \cf3 nil\cf0 )\
    \{\
         cell = [[\cf5 UITableViewCell\cf0  \cf7 alloc\cf0 ] \cf7 initWithStyle\cf0 :\cf7 UITableViewCellStyleDefault\cf0  \cf7 reuseIdentifier\cf0 :cellID] ;\
        count++ ;\
        \
    \}\
    \cf7 NSLog\cf0 (\cf10 @"%d"\cf0 ,count) ;\
    \
    \cf5 NSString\cf0  * str = \cf3 self\cf0 .\cf4 dataArray\cf0 [indexPath.\cf5 section\cf0 ][indexPath.\cf5 row\cf0 ] ;\
    \
    cell.\cf5 textLabel\cf0 .\cf5 text\cf0  = str ;\
    \
    \cf3 return\cf0  cell ;\
    \
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'b5\'e3\'bb\'f7
\f1 cell
\f0 \'bb\'e1\'b5\'f7\'d3\'c3\'b4\'cb\'ba\'af\'ca\'fd
\f1  
\f0 \'d1\'a1\'d6\'d0\'c4\'b3\'b8\'f6
\f1 cell\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 - (\cf3 void\cf0 )tableView:(\cf5 UITableView\cf0  *)tableView didSelectRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\{\
    \cf7 NSLog\cf0 (\cf10 @"
\f0 \'b5\'da
\f1 %ld
\f0 \'c1\'d0
\f1  
\f0 \'b5\'da
\f1 %ld
\f0 \'d0\'d0
\f1 "\cf0 ,indexPath.\cf5 section\cf0 ,indexPath.\cf5 row\cf0 );\
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'b7\'b4\'d1\'a1\'c4\'b3\'d2\'bb\'d0\'d0
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 - (\cf3 void\cf0 )tableView:(\cf5 UITableView\cf0  *)tableView didDeselectRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\{\
    \cf7 NSLog\cf0 (\cf10 @"
\f0 \'b7\'b4\'d1\'a1\'b5\'da
\f1 %ld
\f0 \'c1\'d0
\f1  
\f0 \'b5\'da
\f1 %ld
\f0 \'d0\'d0
\f1 "\cf0 ,indexPath.\cf5 section\cf0 ,indexPath.\cf5 row\cf0 );\
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'c9\'e8\'d6\'c3\'d4\'da
\f1 table
\f0 \'b5\'c4\'b1\'e0\'bc\'ad\'d7\'b4\'cc\'ac\'cf\'c2
\f1 cell
\f0 \'b5\'c4\'b1\'e0\'bc\'ad\'d1\'f9\'ca\'bd
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf2 //- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath\cf0 \
\cf2 //\{\cf0 \
\cf2 ////    UITableViewCellEditingStyleNone,\cf0 \
\cf2 ////    UITableViewCellEditingStyleDelete,
\f0 \'c9\'be\'b3\'fd
\f1  
\f0 \'c4\'ac\'c8\'cf\'d1\'f9\'ca\'bd
\f1 \cf0 \
\cf2 ////    UITableViewCellEditingStyleInsert 
\f0 \'cc\'ed\'bc\'d3
\f1 \cf0 \
\cf2 ////    UITableViewCellEditingStyleInsert | UITableViewCellEditingStyleDelete
\f0 \'b3\'f6\'cf\'d6\'c5\'fa\'c1\'bf\'d1\'a1\'d4\'f1\'bf\'f2
\f1 \cf0 \
\cf2 //    return UITableViewCellEditingStyleDelete;\cf0 \
\cf2 //\}\cf0 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'b5\'b1\'b5\'e3\'bb\'f7\'c9\'be\'b3\'fd\'b0\'b4\'c5\'a5\'ca\'b1\'ba\'f2\'bb\'e1\'b5\'f7\'d3\'c3\'b4\'cb\'ba\'af\'ca\'fd
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 - (\cf3 void\cf0 )tableView:(\cf5 UITableView\cf0  *)tableView commitEditingStyle:(\cf5 UITableViewCellEditingStyle\cf0 )editingStyle forRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\{\
    \cf2 //
\f0 \'cf\'c8\'c9\'be\'ca\'fd\'be\'dd\'d4\'b4
\f1   
\f0 \'d4\'d9\'c9\'be\'bd\'e7\'c3\'e6
\f1 \cf0 \
    [[\cf3 self\cf0 .\cf4 dataArray\cf0  \cf7 objectAtIndex\cf0 :indexPath.\cf5 section\cf0 ] \cf7 removeObjectAtIndex\cf0 :indexPath.\cf5 row\cf0 ] ;\
    \
    [tableView \cf7 deleteRowsAtIndexPaths\cf0 :\cf11 @[\cf0 indexPath\cf11 ]\cf0  \cf7 withRowAnimation\cf0 :\cf7 UITableViewRowAnimationLeft\cf0 ] ;\
    \
    \cf5 NSMutableArray\cf0  * tempArray = \cf3 self\cf0 .\cf4 dataArray\cf0 [indexPath.\cf5 section\cf0 ] ;\
    \cf3 if\cf0  (tempArray.\cf5 count\cf0  == \cf11 0\cf0 )\
    \{\
        [\cf3 self\cf0 .\cf4 dataArray\cf0  \cf7 removeObjectAtIndex\cf0 :indexPath.\cf5 section\cf0 ] ;\
        [\cf4 title\cf0  \cf7 removeObjectAtIndex\cf0 :indexPath.\cf5 section\cf0 ] ;\
        \
        \cf2 //
\f0 \'b5\'b1\'ce\'d2\'c3\'c7\'b5\'f7\'d3\'c3\'d5\'e2\'b8\'f6\'b7\'bd\'b7\'a8
\f1   
\f0 \'b4\'fa\'c0\'ed\'b7\'bd\'b7\'a8\'bb\'e1\'c8\'ab\'b2\'bf\'d6\'d8\'d0\'c2\'d6\'b4\'d0\'d0\'d2\'bb\'b1\'e9
\f1 \cf0 \
        [tableView \cf7 reloadData\cf0 ] ;\
    \}\
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'b4\'f2\'bf\'aa\'d2\'c6\'b6\'af
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 - (\cf3 BOOL\cf0 )tableView:(\cf5 UITableView\cf0  *)tableView canMoveRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\{\
    \cf3 return\cf0  \cf3 YES\cf0  ;\
\}\
- (\cf3 void\cf0 )tableView:(\cf5 UITableView\cf0  *)tableView moveRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)sourceIndexPath toIndexPath:(\cf5 NSIndexPath\cf0  *)destinationIndexPath\
\{\
    \cf5 NSString\cf0  * str = \cf3 self\cf0 .\cf4 dataArray\cf0 [sourceIndexPath.\cf5 section\cf0 ][sourceIndexPath.\cf5 row\cf0 ] ;\
    \
    [\cf3 self\cf0 .\cf4 dataArray\cf0 [sourceIndexPath.\cf5 section\cf0 ] \cf7 removeObject\cf0 :str] ;\
    \
    [\cf3 self\cf0 .\cf4 dataArray\cf0 [destinationIndexPath.\cf5 section\cf0 ] \cf7 insertObject\cf0 :str \cf7 atIndex\cf0 :destinationIndexPath.\cf5 row\cf0 ] ;\
    \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf2 //    [tableView deleteRowsAtIndexPaths:<#(nonnull NSArray<NSIndexPath *> *)#> withRowAnimation:<#(UITableViewRowAnimation)#>]\cf0 \
    \cf2 //
\f0 \'cc\'ed\'bc\'d3
\f1 cell\cf0 \
\cf2 //    [tableView insertRowsAtIndexPaths:<#(nonnull NSArray<NSIndexPath *> *)#> withRowAnimation:<#(UITableViewRowAnimation)#>]\cf0 \
\cf2 //    NSIndexPath * indexP = [NSIndexPath indexPathForRow:<#(NSInteger)#> inSection:<#(NSInteger)#>];\cf0 \
    \
\}\
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf6 #pragma mark -- 
\f0 \'c9\'e8\'d6\'c3\'c9\'be\'b3\'fd\'b0\'b4\'c5\'a5\'b5\'c4\'b1\'ea\'cc\'e2
\f1 \
\pard\tx866\pardeftab866\pardirnatural\partightenfactor0
\cf0 - (\cf5 NSString\cf0  *)tableView:(\cf5 UITableView\cf0  *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(\cf5 NSIndexPath\cf0  *)indexPath\
\{\
    \cf3 return\cf0  \cf10 @"
\f0 \'c9\'be\'b3\'fd
\f1 "\cf0  ;\
\}\
}